[INFO] cloning repository https://github.com/dipaktapase/rust_tutorials
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dipaktapase/rust_tutorials" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdipaktapase%2Frust_tutorials", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdipaktapase%2Frust_tutorials'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4793ead2663a83c9073cbd7f0ffa6da7eec2dfeb
[INFO] checking dipaktapase/rust_tutorials against try#a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399 for pr-145770
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdipaktapase%2Frust_tutorials" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/dipaktapase/rust_tutorials
[INFO] finished tweaking git repo https://github.com/dipaktapase/rust_tutorials
[INFO] tweaked toml for git repo https://github.com/dipaktapase/rust_tutorials written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/dipaktapase/rust_tutorials on toolchain a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/dipaktapase/rust_tutorials already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c4965c26e8fe11a7cddbcc31b103e9b53ffec13ab8043dce0590b7f4090ce273
[INFO] running `Command { std: "docker" "start" "-a" "c4965c26e8fe11a7cddbcc31b103e9b53ffec13ab8043dce0590b7f4090ce273", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c4965c26e8fe11a7cddbcc31b103e9b53ffec13ab8043dce0590b7f4090ce273", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c4965c26e8fe11a7cddbcc31b103e9b53ffec13ab8043dce0590b7f4090ce273", kill_on_drop: false }`
[INFO] [stdout] c4965c26e8fe11a7cddbcc31b103e9b53ffec13ab8043dce0590b7f4090ce273
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1f0f677e677c05155f4b464eaf41d38d495d652bae7af1a6d5413a8fb39c0949
[INFO] running `Command { std: "docker" "start" "-a" "1f0f677e677c05155f4b464eaf41d38d495d652bae7af1a6d5413a8fb39c0949", kill_on_drop: false }`
[INFO] [stderr]     Checking rust_ZTM v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `paid`
[INFO] [stdout]   --> src/bin/22_Expressions.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let paid = true;
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_paid`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `order_placed`
[INFO] [stdout]   --> src/bin/22_Expressions.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let order_placed = match item {
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_placed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Burger` and `Fries` are never constructed
[INFO] [stdout]  --> src/bin/22_Expressions.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | enum Menu {
[INFO] [stdout]   |      ---- variants in this enum
[INFO] [stdout] 7 |     Burger,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 8 |     Fries,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Corporate` is never constructed
[INFO] [stdout]   --> src/bin/a40.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | struct Corporate;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StoreFront` is never constructed
[INFO] [stdout]   --> src/bin/a40.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct StoreFront;
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Corporate` is never constructed
[INFO] [stdout]   --> src/bin/a40.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | struct Corporate;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StoreFront` is never constructed
[INFO] [stdout]   --> src/bin/a40.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct StoreFront;
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `clamp` is never used
[INFO] [stdout]   --> src/bin/a22.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn clamp(n: i32, lower: i32, upper: i32) -> i32 {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `div` is never used
[INFO] [stdout]   --> src/bin/a22.rs:25:4
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn div(a: i32, b: i32) -> Option<i32> {
[INFO] [stdout]    |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `concat` is never used
[INFO] [stdout]   --> src/bin/a22.rs:30:4
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn concat(first: &str, second: &str) -> String {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Body` is never used
[INFO] [stdout]   --> src/bin/a30.rs:18:7
[INFO] [stdout]    |
[INFO] [stdout] 18 | trait Body {}
[INFO] [stdout]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Color` is never used
[INFO] [stdout]   --> src/bin/a30.rs:19:7
[INFO] [stdout]    |
[INFO] [stdout] 19 | trait Color {}
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Brown` is never constructed
[INFO] [stdout]   --> src/bin/30_impl_activity.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | enum Color {
[INFO] [stdout]    |      ----- variant in this enum
[INFO] [stdout] 14 |     Brown,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected item, found keyword `let`
[INFO] [stdout]  --> src/bin/loop.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | let mut b = 0;
[INFO] [stdout]   | ^^^ `let` cannot be used for global variables
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider using `static` and a `Mutex` instead of `let mut`
[INFO] [stdout]   = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_ZTM` (bin "loop" test) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0425]: cannot find function `longest` in this scope
[INFO] [stdout]   --> src/bin/a33.rs:14:20
[INFO] [stdout]    |
[INFO] [stdout] 14 |     println!("{}", longest(short, long))
[INFO] [stdout]    |                    ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `longest` in this scope
[INFO] [stdout]   --> src/bin/a33.rs:14:20
[INFO] [stdout]    |
[INFO] [stdout] 14 |     println!("{}", longest(short, long))
[INFO] [stdout]    |                    ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crossbeam_channel`
[INFO] [stdout]   --> src/bin/a41.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use crossbeam_channel::{unbounded, Receiver, Sender};
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crossbeam_channel`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `crossbeam_channel`, use `cargo add crossbeam_channel` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_ZTM` (bin "a33") due to 1 previous error
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_ZTM` (bin "a33" test) due to 1 previous error
[INFO] [stdout] warning: struct `Rgb` is never constructed
[INFO] [stdout]   --> src/bin/a37.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct Rgb(u8, u8, u8);
[INFO] [stdout]    |        ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_ZTM` (bin "a41") due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "1f0f677e677c05155f4b464eaf41d38d495d652bae7af1a6d5413a8fb39c0949", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1f0f677e677c05155f4b464eaf41d38d495d652bae7af1a6d5413a8fb39c0949", kill_on_drop: false }`
[INFO] [stdout] 1f0f677e677c05155f4b464eaf41d38d495d652bae7af1a6d5413a8fb39c0949
